﻿using System.Windows;
using System.Windows.Controls;
using ParseControls;

namespace ParseOnlineAdmin
{
    /// <summary>
    /// Interaction logic for ParseToolBox.xaml
    /// </summary>
    public partial class ParseToolBox : UserControl
    {
        public ParseToolBox()
        {
            InitializeComponent();
        }

        private void btnDeleteItem_Click(object sender, RoutedEventArgs e)
        {
            ParseOne.InformationSending(new ParseCustomEventArgs("Delete:Current:Parse:Object"));
        }

        private void btnSort_Click(object sender, RoutedEventArgs e)
        {
            ParseOne.InformationSending(new ParseCustomEventArgs("Sort:Current:Items"));
        }

        private void btnGroup_Click(object sender, RoutedEventArgs e)
        {
            ParseOne.InformationSending(new ParseCustomEventArgs("Group:Current:Items"));
        }
    }
}
